package STUDENT.DAODUCGIANG.OOPs.BaiTap1;

public class Controllers {
	//0. Khai bao doi tuong
	private Models m_objModel;
	public boolean CheckUserInfo(UserObject objUser){
		//1. Khoi tao doi tuong Models
		m_objModel = new Models();
		
		//2. Dieu huong thuc thi nghiep vu kiem tra TK
		if(m_objModel.KiemTraTaiKhoan(objUser)){
			if(m_objModel.KiemTraTTKichHoat(objUser)){
				if(m_objModel.KiemTraTTKhoaMo(objUser)){
					if(m_objModel.KiemTraSoDuTK(objUser)){
						return true;
					}
					return false;
				}
				return false;
			}
			return false;
		}
		return false;	
	}
}
